package com.cloud.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cloud.common.entity.po.Result;
import com.cloud.user.bo.UserBO;
import com.cloud.user.entity.UserDO;
import com.cloud.user.mapper.UserMapper;
import com.cloud.user.service.UserService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @auther wuyue
 * @date 2025/2/16 13:42
 * version  1.1
 */

@Slf4j
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserBO> implements UserService {

    @Resource
    private  UserMapper  userMapper;

    public UserDO getOne(String username) {
       return   userMapper.getOne(username);
    }
}
